package com.gitee.srurl.core.util.login;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serial;
import java.io.Serializable;

/**
 * @author zxw
 * @date 2023/4/9 17:16
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
public class OperationUser implements Serializable {

    @Serial
    private static final long serialVersionUID = 2504287470466310958L;

    /**
     * 用户ID
     */
    private Long userId;

    /**
     * 用户名
     */
    private String username;

    /**
     * 是否api用户
     */
    private Boolean api;
}
